package com.qf.springfactory.dao.impl;

import com.qf.springfactory.dao.UserDao;
import com.qf.springfactory.entity.User;

public class UserDaoImpl implements UserDao {

    @Override
    public User getUserById(Integer id) {
        System.out.println("调用UserDaoImpl中的方法");
        User user=new User();
        user.setId(id);
        return user;
    }
}
